// 注册全局的组件,也可以注册指令
//
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from './ImageUpload'
export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.directive('pink', {
      inserted(el) {
        el.style.color = 'pink'
      }
    })
    Vue.component('ImageUpload', ImageUpload)
  }
}
